package com.test.pattern.visitor;

/**
 * @ClassName: Animal
 * @description: 抽象元素角色类
 * @author: Mr du
 * @create: 2024-03-17 22:26
 */
public interface Animal {

    //接收访问者访问的功能
    void accept(Person person);
}
